#ifndef SESSION_H
#define SESSION_H

#include <QStringList>
#include <QString>
#include <QList>

class Session
{
public:
    Session();
    Session(Session *session);

    void setHost(QString host);
    void setUserName(QString userName);
    void setSessionStartAt(int sessionStartAt);
    void setSessionDuration(int sessionDuration);
    void addPage(QString page);
    void addTimestamp(int timestamp);

    QString getHost();
    QString getUserName();
    QStringList &getPages();
    QList<int> &getTimestamps();
    int getSessionStartAt();
    int getSessionDuration();

private:
    QString host;
    QString userName;
    QStringList pages;
    QList<int> timestamps;
    int sessionStartAt;
    int sessionDuration;
};

#endif // SESSION_H
